<html>
<head>
    <meta charset="utf-8">
    <title>登录</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />
    <link rel="stylesheet" href="<?php echo base_url().'public/home/css/' ?>login.css">
    <link rel="stylesheet" href="<?php echo base_url().'public/assets/css/' ?>font-awesome.min.css">
    <script type="text/javascript" src="<?php echo base_url().'public/home/js/' ?>jquery.js"></script>
    <script type="text/javascript" src="<?php echo base_url().'public/home/js/' ?>login.js"></script>
    <?php include_once "public/home/html/alert.php"  ?>   
    <script type="text/javascript" src="<?php echo base_url().'public/home/js/' ?>function.js"></script>
    <?php include_once "public/home/html/bootstrap.php"  ?>
    <?php include_once 'public/home/html/cryptojs.php'; ?>
    <style>
        select{
            height: 30px;
            padding:3px;
            border-radius: 5px;
            width: 60%
        }
        label{
            font-weight: 0
        }
    </style>
    

</head>

<body>
    <input type="hidden" id="zjipc_auth_url" value="<?php echo ZJIPC_AUTH_URL ?>">
        <input type="hidden" id="zjipc_app_id" value="<?php echo ZJIPC_APP_ID ?>">
    <input type="hidden" class="url" name="url" value="<?php echo base_url(); ?>">
    <div class="login-logo circle text-center">登录</div>

    <form name="forms" onsubmit="return checkreg()" action="homepage.html" method="post" class="login-cont">
      <ul>
          <li><input type="tel" placeholder="请输入用户名" id="username"></li>
          <li>
            <span id="box"><input type="password" value="" name="password" placeholder="请输入密码" id="pwd"></span>
            <span id="click"><a href="javascript:open_eye()" class=" icon-eye-close" ></a></span></li>
        </ul>
        <!-- <div>            
            <select name="" id="type" class='selectpicker'>
                <option value="-1">请选择登陆方式 </option>
                <option value="1">统一认证用户</option>
                <option value="2">系统</option>
            </select>
        </div> -->
        <div  >
            <label >
                <input type='radio' value='1' name="type" />
                统一认证用户
            </label>
            <label style="margin-left:20%">
                <input type='radio' value='2' name="type" />
                系统
            </label>
        </div>
        <a  class="button text-center block" id="login">登 录</a>
        <!-- <a href="javascript:;" class="text-center block font-color">忘记密码？</a> -->
    </form>


<script type="text/javascript">
    function open_eye() {
    if (this.forms.password.type = "password") box.innerHTML = "<input type=\"html\" name=\"password\" size=\"20\" value=" + this.forms.password.value + ">";
    click.innerHTML = "<a href=\"javascript:close_eye()\" class=\" icon-eye-open\"></a>"
}

function close_eye() {
    if (this.forms.password.type = "text") box.innerHTML = "<input type=\"password\" name=\"password\" size=\"20\" value=" + this.forms.password.value + ">";
    click.innerHTML = "<a href=\"javascript:open_eye()\" class=\" icon-eye-close\"></a>"
}
</script>
</body>
</html>